Component({
  behaviors: [require('../common/share-behavior').default],
  properties: {
    cubeAlpha: {
      type: Number,
      value: 1
    },
    sphereAlpha: {
      type: Number,
      value: 1
    },
    clearColor: {
      type: String,
      value: '0 0 0 0'
    }
  },
  data: {
    useAr: false
  },
  lifetimes: {},
  methods: {
    handleReady({
      detail
    }) {
      const xrScene = this.scene = detail.value;
      console.log('xr-scene', xrScene);
    },
    handleGLTFLoaded({ detail }) {
      const el = detail.value.target;
      const animator = el.getComponent("animator");
      animator.play("Running");
  },
      handleARReady({
                          detail
                      }) {

      }
    },
})